<template>
  <div style="border: 1px solid red">
    <p>coo:{{ coo }}</p>
    <p>attrs:{{ $attrs }}</p>
    <button @click="startUpRocket">我要发射火箭</button>
  </div>
</template>
<script>
export default {
  name: 'ChildDomChild',
  inheritAttrs: false,
  props: {
    coo: {
      type: String,
      default: ''
    }
  },
  methods: {
    startUpRocket() {
      this.$emit('upRocket')
      console.log('startUpRocket')
    }
  }
}
</script>
